package com.nmf.site.biz.pay.enums;

public enum OrderType {
	memberChizhi1(1001, "会员续费"),
	jiweiChizhi(1002, "机位购买"),
	;

	public Integer value;
	public String name;

	OrderType(int value, String name) {
		this.value = value;
		this.name = name;
	}

	public static OrderType getStatus(Integer value) {
		if (value != null) {
			OrderType[] otypes = OrderType.values();
			for (OrderType memberType : otypes) {
				if (value.equals(memberType.value)) {
					return memberType;
				}
			}
		}
		return null;
	}
}
